{subtemplate template/common/com_header.html}



<div class="subcate"><a href="?m=photos" class="img curr" >图片管理</a><a href="?m=photos&a=category" class="cate">分类管理</a></div>

<div class="select_cate">
     分类查看：<select name="view_cate">
               <option value="0">全部</option>
               {loop $cons_type $cons_k $cons_v}
               <option value="{$cons_k}">{$cons_v}</option>
               {/loop}
           </select>
           <input type="button" name="添加" value="添加" onclick="javascript:location.href='?m=photos&a=add'" />
</div>

<div class="record">
  <table>
    <tr><td>序号</td><td>发型名称</td><td>一级分类</td><td>二级分类</td><td>所属专题</td><td>上传时间</td><td>操作</td></tr>
    {loop $photo $pk $pv}
    <tr><td>{$pv['id']}</td><td>{$pv['photo_name']}</td><td>{loop $pv['cate']['parent'] $spk $spv} {$spv}&nbsp;&nbsp; {/loop}</td><td>{loop $pv['cate']['child'] $sck $scv} {$scv}&nbsp;&nbsp; {/loop}</td><td></td><td>{$pv['add_time']|sttosdate}</td><td><a href="#">删除</a><a href="#">修改</a></td></tr>
    {/loop}
  </table>  
</div>


{subtemplate template/common/com_footer.html}